from page import Page

class LoginPage(Page):

    @property
    def login_fields(self):
        return self.driver.find_elements_by_class_name("required")

    @property
    def submit_button(self):
        return self.driver.find_element_by_name("submit")